package com.gs.weather.service;


import com.gs.weather.entity.DisasterSubtype;
import org.springframework.http.ResponseEntity;

import java.util.List;


/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/21 0021
 */

public interface DisasterSubtypeService {

    Integer addSubtype(DisasterSubtype subtype);

    ResponseEntity updateSubtype(DisasterSubtype subtype);

    List getSubtypeByTypeId(int id);

    ResponseEntity deleteSubtype(int id);
}
